<#include "common/main_no_menu.html">
<#macro bodyId>setting</#macro>
<#macro content>

<div class="setting main ty-common-page">
    <h1 class="page-header">修改密码</h1>
    <#if errorMsg?? && errorMsg != ""><div class="alert alert-danger">${errorMsg}</div></#if>
    <#if successMsg?? && successMsg != ""><div class="alert alert-success">${successMsg}</div></#if>
    <form class="form-horizontal" action="${rc.contextPath}/user/editpw" role="form" method="post">
    	 <input type="hidden" name="id" value="${loginUserDto.id}">
        <div class="form-group">
            <label class="col-sm-3 control-label">用户名：</label>
            <div class="col-sm-9 user-name">${loginUserDto.loginName}</div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">原始密码：</label>
            <div class="col-sm-7">
                <input type="password" class="form-control password" required placeholder="" name="loginPwd">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">新密码：</label>
            <div class="col-sm-7">
                <input type="password" class="form-control password" required placeholder="6-14 位字母+数字组合" name="newPassword">
            </div>
            <div class="col-sm-2 need-verify">
                <div class="tips"></div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">确认新密码：</label>
            <div class="col-sm-7">
                <input type="password" class="form-control re-password" required placeholder="6-14 位字母+数字组合" name="reNnewPassword">
            </div>
            <div class="col-sm-2 need-verify">
                <div class="tips"></div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-3 col-sm-10">
                <button type="submit" class="btn btn-primary">提交</button>
            </div>
        </div>
    </form>
</div>
</#macro>